<template>
	<view class="">
		<u-navbar scrollable=false titleStyle="font-size:40rpx;color:#333" :placeholder='true' :title="info.name"
			:autoBack="true">
		</u-navbar>
		<view class="padding32">
			<rich-text :nodes="info.text"></rich-text>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				info:{},
				
				type:2,//0:注册,1:购买,2隐私3用户
			}
		},
		onLoad(option) {
			this.$my.get('/index/com/getAgreement',{type:option.type}).then(res=>{
				if(res.code==200){
					this.info=res.data
				}
			})
		}
	}
</script>

<style lang="scss" scoped>
</style>